pollination-react-io 1.92.0 → 1.92.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47212,11 +47212,17 @@ var RecipeForm = function (_a) {
47212
47212
  };
47213
47213
  alias && inputInfo.useAlias && Object.keys(alias).forEach(function (key) {
47214
47214
  if (key in inputInfo) {
47215
- // if the alias is DAGGenericInputAlias
47215
+ // if alias is DAGGenericInputAlias keep native one
47216
+ // if alias is file and input is file keep native one
47217
+ // important for red messages if delete value
47216
47218
  if (key == 'type') {
47217
47219
  if (alias[key] === 'DAGGenericInputAlias') {
47218
47220
  return;
47219
47221
  }
47222
+ else if (alias[key] === 'DAGFileInputAlias'
47223
+ && inputInfo.type === 'DAGFileInput') {
47224
+ return;
47225
+ }
47220
47226
  }
47221
47227
  // if Linked Input keep the native name
47222
47228
  // Example, see mapping: from sim-par and sim_par
@@ -47503,8 +47509,8 @@ var RecipeForm = function (_a) {
47503
47509
  host !== 'web' && React__default.createElement(Button, { type: 'submit', style: { width: '100%',
47504
47510
  margin: '10px 0 0 0',
47505
47511
  justifyContent: 'center' }, disabled: !localConfig.isLocalJob
47506
- ? !isValid || loading
47507
- : !isValid || loading || localConfig.localRunFolder == null, form: recipe.metadata.name, loading: loading }, "Create Study")));
47512
+ ? (Object.keys(errors).length !== 0) || loading
47513
+ : (Object.keys(errors).length !== 0) || loading || localConfig.localRunFolder == null, form: recipe.metadata.name, loading: loading }, "Create Study")));
47508
47514
  };
47509
47515
 
47510
47516
  var defaultStyle = {