-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting defaultValue still shows hint/floatingLabelText #21
Comments
@vijayrawatsan - looks like this was introduced in 0.2.3, and remains in 0.2.4. Could you take a look please when you get a chance? Thanks. |
@sys13 how are you setting defaultValue can you give me an example. I will try that example with 2.2 2.3 and 2.4. |
Something like: <FormsyText
name='url'
validations='isUrl'
validationError="Please provide a valid URL"
defaultValue="http://"
hintText="http://www.example.com"
floatingLabelText="URL"
/> |
Hi Daniel, Please could you try the version in this branch: https://github.com/mbrookes/formsy-material-ui/tree/textfield-dafaultValue ? You will need to use Formsy and Material-UI use (Edit: although I'm not sure why the MUI Textfield wasn't rendering correctly given that defaultValue was already being passed down through the Vijay, any thoughts? |
Sorry, how do I run this locally? |
Like this: https://docs.npmjs.com/files/package.json#git-urls-as-dependencies (or similar, depending on how you deploy NPM packages). |
Having trouble installing it. I tried using this line in my packages.json file:
but I got this error
|
Not sure what that sha is, but it isn't from this repo! Try:
|
Thanks for the link. And it works great using the |
0.2.5 published. |
I'm trying to show a defaultValue. However, if hintText or floatingLabelText is set they will overlay over the defaultValue.
Using these versions:
The text was updated successfully, but these errors were encountered: