react-datetime icon indicating copy to clipboard operation
react-datetime copied to clipboard

Add Support for Form Groups

Open daniel-moya opened this issue 5 years ago • 0 comments

Because DateTime uses a div as a wrapper, the prepend and append for Form Groups does not work when using DateTime Pickers

<InputGroup className="w-100">
	<DateTime />
	<InputGroup.Append>
		<InputGroup.Text>
                   <span className="glyphicons glyphicons-calendar" />
                </InputGroup.Text>
       </InputGroup.Append>
</InputGroup>

Screenshot

The append gets moved to the next line. It displays it as block image

Without <div> Wrapper

image

daniel-moya avatar Dec 18 '20 13:12 daniel-moya