Closed mmascord closed 3 years ago
I'm closing this one because is a duplicate of #104. We have in our roadmap standardising data type formats in our design system, in order to guarantee consistency across different applications.
We won't necessarily replicate html or material API, since we are implementing custom components . For example, we already have a radio component, so there is no need of having an input type "radio".
The DxcInput component does not support type="number".
It is strange that for masked input is necessary to use this property: isMasked={true}.
I think it would be better if "isMasked={true}" was changed to type="password".
The DxcInput field should have the same property "type" as the standard HTML Input component and the Material-UI TextField component.
Can you please add the "type" property with the following standard options: