diff --git a/package.json b/package.json index 6f6d60263..e9dc304ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@unicef/material-ui", - "version": "0.12.1", + "version": "0.12.2", "description": "UNICEF theme and components of material-ui for react", "main": "index.js", "files": [ diff --git a/src/components/USelectPicker/Input.js b/src/components/USelectPicker/Input.js index d2022004e..a0ad027c0 100644 --- a/src/components/USelectPicker/Input.js +++ b/src/components/USelectPicker/Input.js @@ -3,6 +3,7 @@ import { components } from 'react-select' import PropTypes from 'prop-types' export default function Input(props) { + console.log(props) let describedBy = props['aria-describedby'] //react-select generated aria-describedby if (!props.hasValue) { const customDescribedBy = props.selectProps['aria-describedby'] //custom aria-describedby passed through the props @@ -14,7 +15,15 @@ export default function Input(props) { : undefined } - return + return ( + + ) } Input.propTypes = { diff --git a/src/components/USelectPicker/InputComponent.js b/src/components/USelectPicker/InputComponent.js index 398d70cd8..b670031a2 100644 --- a/src/components/USelectPicker/InputComponent.js +++ b/src/components/USelectPicker/InputComponent.js @@ -2,7 +2,14 @@ import React from 'react' import PropTypes from 'prop-types' export default function InputComponent({ inputRef, ...props }) { - return
+ return ( +
+ ) } InputComponent.propTypes = {