ywana-core8 0.0.245 → 0.0.246

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.245",
3
+ "version": "0.0.246",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -254,7 +254,7 @@ export const StringEditor = ({ field, value = '', onChange, content, outlined })
254
254
  case FORMATS.DATE: return <TextField outlined={outlined} id={id} type="date" label={label} value={value} onChange={change} readOnly={!editable} />
255
255
  default:
256
256
  return options ? (
257
- <DropDown outlined={outlined} id={id} label={label} value={value} onChange={change} options={buildOptions()} readOnly={!editable} canFilter={predictive} />
257
+ <DropDown outlined={outlined} id={id} label={label} value={value} onChange={change} options={buildOptions()} readOnly={!editable} predictive={predictive} />
258
258
  ) : (
259
259
  <TextField outlined={outlined} id={id} label={label} value={value} onChange={change} readOnly={!editable} />
260
260
  )
@@ -167,6 +167,8 @@ export const DropDown = (props) => {
167
167
  }
168
168
  }
169
169
 
170
+ console.log('dropdown',id, 'predictive', predictive)
171
+
170
172
  return (
171
173
  <div className="dropdown">
172
174
  <TextField {...props} onClick={toggle} value={label} onChange={change} />