Skip to content
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

titleWrapperStyle / Modal Form with Inputs #53

Open
aboe026 opened this issue Jun 29, 2018 · 0 comments
Open

titleWrapperStyle / Modal Form with Inputs #53

aboe026 opened this issue Jun 29, 2018 · 0 comments
Assignees

Comments

@aboe026
Copy link

aboe026 commented Jun 29, 2018

Problem description

I'm trying to create a modal with form inputs like so:
image
I'm using the ContentDialog currently:

<ContentDialog
  className='dialog'
  defaultShow={visible}
  statusBarTitle={'Add Visit'}
  showCloseButton={true}
  primaryButtonText={'Add'}
  secondaryButtonText={'Close'}
  contentNode={
    <div>
      <div>
        <span>Country</span>
        <TextBox />
      </div>
      <div>
        <span>State</span>
        <TextBox />
      </div>
      <div>
        <span>City</span>
        <TextBox />
      </div>
      <div>
        <span>Start</span>
        <CalendarDatePicker />
      </div>
      <div>
        <span>End</span>
        <CalendarDatePicker />
      </div>
    </div>
  }
/>

but that leaves a massive gap where the title property should go. Am I using the correct component? If so, could i get titleWrapperStyle exposed as a property on ContentDialog so i can set display: none; on it.

Link to minimal working code that reproduces the issue

see above

Versions

  • React-UWP: 1.1.9
  • React: 16.3.2
  • Browser: Chrome 67.0.3396.87
@myxvisual myxvisual self-assigned this Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants