Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.
This repository was archived by the owner on Oct 27, 2022. It is now read-only.

Question: control the size of DatePicker #30

Closed
@alexbeletsky

Description

@alexbeletsky

I have a form where DatePicker is integrated,

  <form id="timeline" className="form" onChange={onChange} onSubmit={validateTimelineForm(form, onSubmit, onErrors)}>
    <div className="row">
      <DatePicker className="col-xs-6" onRenderCaret={noop}>
        {inputProps =>
          <div className={cx('form-group', { 'has-danger': form.errors.applicationStart })}>
            <label htmlFor="applicationStart">
              Start of Application:
            </label>
            <input
              { ...inputProps }
              type="text"
              className={cx(inputProps.className, 'form-control')}
            />
          </div>
        }
      </DatePicker>

      // ...

DatePicker popup appears after click, but it's ridiculously big,

screenshot 2016-07-25 17 10 57

Is there a way to control it's dimensions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions