Struggling with some WeWeb basics — desperately looking for help

Hey everyone,

desperately need your help to sort some issues to get my project finalized.

-

Background:

I’ve been using WeWeb for about 6–8 weeks now — and honestly, it’s a fantastic solution. No doubt about that!

As a product manager (but 100% not a technical person or developer), I’ve managed to build almost everything I wanted — which says a lot about how intuitive WeWeb is.

Now that I’m finalizing the last bits of my app, and having to deal with details, I’ve gathered a few questions and challenges that I haven’t been able to solve on my own.

At this point, I’m slowly starting to suspect that some of them might just be small bugs or parts of WeWeb that haven’t been implemented with much love yet… I hope you prove me wrong!

The goal of this post is to hopefully get some help — either from the WeWeb team or the community — to figure out these issues within the builder or find possible workarounds.

And if something simply isn’t possible in WeWeb (yet) or it’s a bug, I’d love to know that, too cause I’m a bit worried that, after all the time I’ve invested, it might turn out that some really basic features and functionalities are actually buggy — and that I might have to switch systems in the end.

I really don’t want to sound grumpy or anything — but I’m getting a bit desperate…

-

Topics in this Post:

  1. Dropdown Menu Component
  2. Input Component “Date”
  3. Workflows in Popups
  4. Display Settings: “Sizing”
  5. Inpunt Component on Mobile

I’ve numbered all the questions in this post — so if you’re referring to one of them, you can just use the corresponding number!

-

(P.S. Also happy to get in contact with some one from the weweb team or a weweb professionals via private message - I would also be happy to pay to get this sorted if this is the only way to go …)


  1. Dropdown Menu Component

My questions:

  1. How can i display the trigger of the dropdown menu component (here in red) in 100% width?

I am able to to display a bespoke button component in 100% width, I am able to display the trigger of a “regular dropdown” component in 100% width but when i set the wrapper of a “dropdown menu” component to 100% + the trigger to 100% width the trigger centers like on the screenshot above.

  1. How can I sort this? If this is on purpose - whats the purpose? :smiley: Am i able to sort this via CSS commands on the class? ….

I need this component, cause the dropdown itself should close after a click - like in the “regular dropdown component” but I have not found a way to set this up.

  1. Or is there a way to set up the “regular dropdown component” in a way that it closes after clicking, like in the “dropdown menu” component?
  2. Why don’t I have the option “force display on editor” in the “regular dropdown” component?

Additionally — just out of curiosity:

  1. For the “Dropdown menu” component: Why can’t the settings under “Specific,” such as “Alignment,” “Mobile view,” and “Mobile view starting at,” be saved in a class, but are only available for each individual element? That really seems like a bug…


  1. Input Component “Date”

My questions:

I use a weweb input field component input type “date”. When a user accidently adds more then four digits for the year the whole data doesn work anymore - I guess that is clear. So …

  1. How can I prevent users from entering more than four digits for the year?
  2. Is this behavior intentional? If so, what’s the reasoning behind it?

  1. Workflows in Popups

I experience that the workflow i setup for a popup isn’t working.

My question:

  1. What is the issue with my popup specific workflow?

This is the popup I am refering to. I set up a workflow within the popup settings to fetch the current salutation value from db, but it’s not working.

This is the binding of the text “Select Salutation” in the dropdown. Current Value = “Select Salutation”.

It is setup this way:

If SelectedSalutation = “male”, show “Male”,
if “female “show “Female”,
if unselected show “Select Salutation”

This is a screenshot of the popups settings → Workflow “Fetch User Data” active.

This is the workflow itself.

Step 1 - I fetch the collection with the user data.

Step 2 - I set SelectedSalutation (bindet in the text of the dropdown in the Popup) to the current user value - in this case “male”

As you can see - the workflow isn’t working.

  1. What am I doing wrong?
  2. Or do I have missunderstood the functionality of the “Popup Workflows” ?
  3. If so - how do I achieve what I am looking for?

  1. Display Settings: Sizing

I am frequently experiencing, that when I make adjustments on some stylings of an object and save this stylings to the class, that the “Sizing” settings of other objects with the same class are set to “custom”. Also I tried to save the “shrink if needed” setting to the class but this setting doesn’t apply to the other objects with this class and seems only to apply for each single object.

My question:

  1. Is this a bug? What am I doing wrong? How do solve this …

In this particular case I was kind of able to resolve this with adding the following css commands to the class styling BUT even with the CSS commands, the sizing still displayed “Custom”

flex-grow: 0;
flex-basis: auto;
flex-shrink: 1;

  1. Does CSS commands do not affect whats shown in the styling panel in the editor? Why not?


  1. Input component on mobile

I am experiencing display issues on mobile.

This shows the styling of an popup on mobile - all fine and set.

This is a screenshot from the page on my mobile - as you can see the input field component is way wider than the rest, even though it is set to 100% (like you can see on the screen above). This causes that the user can scroll horizontally and so on … simply doesn’t work. This a screenshot from the “full screen“ PWA but its the same behaviour in safari.

My question is:

  1. What am i doing wrong here? How to sort this?
  2. Or is this a known issue with the weweb components having real issues with styling and displaying?

Hi

Just a quick response for #2 - use a date picker. This will also allows you to specify min and max dates.

Hey @Peer !
Appreciate the thorough explaination of each issue you encounted, makes the answer easier :smiley:

  1. When using the the dropdown component in Data display, you can close the dropdown with an Execute component action block. You an target the specific dropdown and select the Close dropdown workflow. The other dropdown is an older one.

  1. If you want to stick to an input field with type date, you can set a max date to something really high like the following screenshot. It will prevent the user from going to higher number of digits :slight_smile:

  2. The workflow trigger is set to “On execution“. So you would need to call it somewhere. In that case, the appropriate trigger might be “On mounted” (when the popup appears). Popup workflows refers to workflows that are defined only in the scope of the popup. But they work as any other workflow.

  3. Saving the Sizing CSS prop seems to work ok on my end. Make sure that the prop is highlighted in yellow, that means it is saved to the class.
    Not sure what you mean by CSS command? Are refering to the Custom CSS?

  4. I think I’d already encountered this issue in the past. It was more of a Safari issue if I remember. I can’t reproduce it on my machine, but I think I played with the max/min width of the elements and/or its parent to solve it.

I hope these answers take you to the finish line of your project!

4 Likes

@jptrinh

Cher Jean-Philippe,

Je te remercie infiniment d’avoir pris le temps de répondre en détail à tous les problèmes !

Grâce à tes réponses, j’ai pu résoudre mes difficultés les plus urgentes et j’avance désormais très bien.

Si tu as l’oreille des développeurs de WeWeb, dis-leur donc qu’il serait vraiment utile de supprimer, ou au moins de signaler, les composants obsolètes ou défectueux — cela aiderait énormément ! Comme récemment avec les icônes…

Encore un grand merci, et continue comme ça !

1 Like