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

Bring back label outside of the input for NcActionInput #4484

Merged
merged 1 commit into from Aug 30, 2023

Conversation

juliushaertl
Copy link
Contributor

@juliushaertl juliushaertl commented Aug 30, 2023

#4394 introduced a change that having the label outside of the input is no longer possible with NcActionItem

In previous versions the label was shown above the input which gives the
text more space which might be better than the inline label from
https://github.com/nextcloud-libraries/nextcloud-vue/pull/4394 in some
scenarios.

This is a breaking change as it renames the previous labelVisible
property to a labelOutside property. The label should always be visible
with the new NcInputField, however we can optionally decide to have the
label outside.

Found in nextcloud/text#4663

🖼️ Screenshots

7.x.x with label-visible

Screenshot 2023-08-30 at 08 35 21

Current 8.0.0-beta.with label-visible

Screenshot 2023-08-30 at 08 35 37

This PR with label-outside

Screenshot 2023-08-30 at 08 36 05

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

…ield

In previous versions the label was shown above the input which gives the
text more space which might be better than the inline label from
#4394 in some
scenarios.

This is a breaking change as it renames the previous labelVisible
property to a labelOutside property. The label should always be visible
with the new NcInputField, however we can optionally decide to have the
label outside.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl added enhancement New feature or request 3. to review Waiting for reviews labels Aug 30, 2023
@juliushaertl juliushaertl added this to the 8.0.0 milestone Aug 30, 2023
@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 30, 2023
@Pytal Pytal merged commit bdab171 into master Aug 30, 2023
16 checks passed
@Pytal Pytal deleted the bugfix/ncactioninput-label-outside branch August 30, 2023 17:21
@Pytal Pytal mentioned this pull request Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants