ywana-core8 0.0.367 → 0.0.368

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.367",
3
+ "version": "0.0.368",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  .textfield > input:read-only {
29
- background-color: var(--paper-color);
29
+ background-color: var(--paper-color) !important;
30
30
  border-bottom: 1px solid var(--divider-color) !important;
31
31
  }
32
32
 
@@ -158,6 +158,7 @@ export const DropDown = (props) => {
158
158
  }
159
159
 
160
160
  function select(event) {
161
+ console.log(event)
161
162
  const next = event.target.getAttribute("value")
162
163
  const option = options.find(option => option.value === next)
163
164
  if (onChange) onChange(id, next)
@@ -179,7 +180,7 @@ export const DropDown = (props) => {
179
180
 
180
181
  return (
181
182
  <div className="dropdown">
182
- <TextField {...props} onClick={toggle} value={label} onChange={change} readOnly={!predictive}/>
183
+ <TextField {...props} value={label} onChange={change} readOnly={!predictive}/>
183
184
  {!readOnly ? <Icon icon="expand_more" clickable size="small" action={toggle} /> : null }
184
185
  {renderOptions()}
185
186
  </div>