Brooklyn, NY
Account created on 25 September 2008, almost 16 years ago
#

Merge Requests

More

Recent comments

🇺🇸United States jrockowitz Brooklyn, NY

The select_or_other.module is not working as expected.

🇺🇸United States jrockowitz Brooklyn, NY

That makes sense because you can't nest a form within a form. You have to take a different approach, like opening the form in a modal dialog.

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz changed the visibility of the branch 3460229-require-additional-type to active.

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz changed the visibility of the branch 3460229-require-additional-type to hidden.

🇺🇸United States jrockowitz Brooklyn, NY

What is the reason for disabling the phone number validation? Is it not working as expected?

I am hesitant to add more features. A simpler approach would be to refactor the JavaScript so that you can override the validate method and even disable it via some custom JavaScript

The attached patch is a minor refactor which allows you to redefine the below function.

Drupal.webformTelephoneValidate = function ($telephone) {
  // Skip validation.
  return true;
}
🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz made their first commit to this issue’s fork.

🇺🇸United States jrockowitz Brooklyn, NY

Drupal core puts the prefix before the description in the form-element.html.twig.

https://git.drupalcode.org/project/drupal/-/blob/11.x/core/modules/syste...
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/themes/claro/...

I don't think Webform should override this decision. I am not seeing any issue similar issue reported via Drupal core.

🇺🇸United States jrockowitz Brooklyn, NY

I suspect there is a sequencing issue when the form builder/manager is reloaded via Ajax.

🇺🇸United States jrockowitz Brooklyn, NY

I don't have time to start recording videos while the module is still in alpha releases. I am very open to improving the README.md files for each sub-module. We could add a 'Use case' for each module.

For example, the use case for the schemadotorg_entity_reference_override.module is to

Allow entity reference fields that relate a https://schema.org/Person to an https://schema.org/Organization to include a https://schema.org/Role with the entity reference using the Entity Reference _Override module.

A considerable contribution would be to define the use case for each sub-module.

🇺🇸United States jrockowitz Brooklyn, NY

The Schema.org JSON API module needs to be enabled before Schema.org content types are created.

You can delete and recreate your Schema.org mapping, which will trigger the creation of the JSON:API endpoints.

🇺🇸United States jrockowitz Brooklyn, NY

As note in the README.md features, it 'allows dedicated 'Role' fields to be created for a Schema.org type.'
https://git.drupalcode.org/project/schemadotorg/-/tree/1.0.x/modules/sch...

Right now, it is only configured for Podcasts.

The module may be deprecated and replaced with the schemadotorg_entity_reference_override.module which allows a Role value to be added to an entity reference.

🇺🇸United States jrockowitz Brooklyn, NY

@abhiyanshu That is a great explanation of the use case for the schemadotorg_inline_entity_form.module and the common use case for most sub-module.

@fishfree Feel free to suggest improvements to the README.md files.

🇺🇸United States jrockowitz Brooklyn, NY

Adding custom #states to a composite must be done using code.

@see https://git.drupalcode.org/project/webform/-/blob/6.2.x/modules/webform_...

🇺🇸United States jrockowitz Brooklyn, NY

Computed twig elements have performance limitations via Ajax. Any additional support should be handled via custom code or dedicated contributed module.

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz made their first commit to this issue’s fork.

🇺🇸United States jrockowitz Brooklyn, NY

I don't think we should change this default expected behavior, but it can be changed using custom code.

🇺🇸United States jrockowitz Brooklyn, NY

We might want to tag one more stable release and then only support 10.2.x

🇺🇸United States jrockowitz Brooklyn, NY

Any additional features should be handled via custom code or a dedicated contributed module.

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz created an issue.

🇺🇸United States jrockowitz Brooklyn, NY

Marking fixed to ensure people get commit credit but we cant make this change until we are only supporting Drupal 10.2.x

🇺🇸United States jrockowitz Brooklyn, NY
🇺🇸United States jrockowitz Brooklyn, NY

For #18, I do not see any reasonable fix because the submit callback is being triggered via a click event, which doesn't trigger validation.

@see https://git.drupalcode.org/project/webform/-/blob/6.2.x/src/Form/Webform...

The best workaround is to use https://www.drupal.org/project/clientside_validation

🇺🇸United States jrockowitz Brooklyn, NY

Your code is nesting a webform inside a form, and it won't work as expected.

If you place the webform via a controller, it will work as expected.

🇺🇸United States jrockowitz Brooklyn, NY

All new features should be handled via custom code or a dedicated contributed module.

🇺🇸United States jrockowitz Brooklyn, NY

I am using "Drupal 10.2, Symfony mailer with SMPT" without any problems. Please update to the latest version of Symfony mailer and check you settings to make sure it is configured correctly.

🇺🇸United States jrockowitz Brooklyn, NY

The problem is that the http:// protocol included in the file URL in the email is causing our email security application to flag the emails as insecure and sometimes block them.

You need to ensure the file URL is secure via https.

🇺🇸United States jrockowitz Brooklyn, NY

Please reopen this ticket when you can provide more information

🇺🇸United States jrockowitz Brooklyn, NY

The issue seems to be related to 'element.allowed_tags' is missing from 'webform.settings'.

Please run `drush webform-repair`

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz made their first commit to this issue’s fork.

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz made their first commit to this issue’s fork.

🇺🇸United States jrockowitz Brooklyn, NY

You have to write custom code to support this. You might want to try using webform cards. @see https://www.youtube.com/watch?v=bDugc2gWQnw

🇺🇸United States jrockowitz Brooklyn, NY

Please post this support question to the appropriate channel.

🇺🇸United States jrockowitz Brooklyn, NY

I am finding the MRs very confusing. I created a new ticket to address the immediate deprecation. I will still give everyone commit credit on this ticket.

@see 📌 format_size() is deprecated and is replaced by ByteSizeMarkup Active

🇺🇸United States jrockowitz Brooklyn, NY

Try running drush webform-repair with the ckeditor5 module enabled.

🇺🇸United States jrockowitz Brooklyn, NY

This should be fixed because via CLI \Drupal::routeMatch()->getRouteName() can be equal to NULL

🇺🇸United States jrockowitz Brooklyn, NY

I am not writing new features for the webform module. If someone contributes code with test coverage, it will most likely be committed.

🇺🇸United States jrockowitz Brooklyn, NY

Good catch. Besides attaching the CSS via the preprocess callback, we should fix the CSS.

Before

After

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz made their first commit to this issue’s fork.

🇺🇸United States jrockowitz Brooklyn, NY

I am confused by using the 'unchecked' trigger for the 'addlabel_02' textfield.

    addlabel_02:
      '#type': textfield
      '#title': 'Your label'
    incorrect_label_02:
      '#type': message
      '#states':
        visible:
          ':input[name="addlabel_02"]':
            '!value': 'H*'
        invisible:
          ':input[name="addlabel_02"]':
            unchecked: true
      '#message_type': error
      '#message_message': '<strong>Wrong!</strong><br>until correctly labelled'
🇺🇸United States jrockowitz Brooklyn, NY

I managed to fix three of the four broken tests but I am stumped by the broken entity print private field handling test issue. I think it is related to https://www.drupal.org/node/3346038

🇺🇸United States jrockowitz Brooklyn, NY

jrockowitz made their first commit to this issue’s fork.

🇺🇸United States jrockowitz Brooklyn, NY

Yes, we should add 'lifecycle: deprecated' to any module categorized as 'Webform [DEPRECATED]'

🇺🇸United States jrockowitz Brooklyn, NY

I am hesitant to make any UI/UX changes, but the field could be disabled via a form alter hook.

🇺🇸United States jrockowitz Brooklyn, NY

Let's add a warning.

We could also create a webform_deprecated project namespace and gradually move deprecated webform modules into that namespace.

🇺🇸United States jrockowitz Brooklyn, NY

The 'Set default value' button opens an instance of the input based on the currently entered settings and validation rules. For more complex elements, including composites, we need to rerender the entire element.

I am not sure we should make any changes to this behavior.

🇺🇸United States jrockowitz Brooklyn, NY

I am not able to replicate this issue using the attached webform.

What theme are you using?

🇺🇸United States jrockowitz Brooklyn, NY

I am for removing the reference.

🇺🇸United States jrockowitz Brooklyn, NY

I am not able to replicate this issue using the below example and the Claro theme. What theme are you using?

webform_custom_composite_basic:
  '#type': custom_composite
  '#title': webform_custom_composite_basic
  '#multiple__header': false
  '#element':
    first_name:
      '#type': textfield
      '#title': 'First name'
    last_name:
      '#type': textfield
      '#title': 'Last name'
🇺🇸United States jrockowitz Brooklyn, NY

You can make an RC, but I need to tag a stable one this week. We could skip the RC

🇺🇸United States jrockowitz Brooklyn, NY

I am unsure if the patch is getting to the root cause. It seems that the archive is being closed and needs to be reopened when zipping large files.

@see https://stackoverflow.com/questions/16121885/php-zip-archive-memory-ram-...

I would be more comfortable with a patch that checks if the archive is closed and then reopens it. The current patch is reopening the archive with every file.

🇺🇸United States jrockowitz Brooklyn, NY

What admin theme are you using?

The Gin Admin Theme always included the X/close link.

Via Claro, the close button is not displayed.

🇺🇸United States jrockowitz Brooklyn, NY

There are already a lot of theme suggestions including webform handlers for email templates

@see https://git.drupalcode.org/project/webform/-/blob/6.2.x/includes/webform...
@see https://git.drupalcode.org/project/webform/-/blob/6.2.x/includes/webform...

If you need additional template suggestions, you should use custom code.

🇺🇸United States jrockowitz Brooklyn, NY

Yep, this can happen in the next day or so. I will review open tickets to see if anything else should go into the release

🇺🇸United States jrockowitz Brooklyn, NY

I am unsure that _webform_token_render_more() is the root cause because the performance issue only happens when Search API is enabled.

🇺🇸United States jrockowitz Brooklyn, NY

This feature type can be handled via a form alter hook in a dedicated module or custom code.

Production build 0.69.0 2024