Questions tagged [dialog]

1

votes
4

answer
1.6k

Views

Android Alert Dialog - How to change the title color and the text color without changing the primary color

Hay, Is there a simple way to change the title and the text colour without changing the primary colour of the whole app? Here is what I got now: I dont want to change the textColorPrimary
Raheel Hasan
1

votes
1

answer
629

Views

How to perform input checks in TextInputDialog in JavaFX?

I have the code below. It describes a simple TextInputDialog (which contains a text field and OK button). How can I perform input checks? (e.g verify that the input is numeric/not-empty and so and so). In the bottom line, I want that the OK button will be disabled if the input is wrong, or if I pres...
HadarShab
1

votes
1

answer
715

Views

Character vector of length 1 all but the first element will be ignored error when filtering data in Shiny Application

I have the following Shiny Application: library(shiny) library(rhandsontable) library(shinydashboard) library(ggplot2) library(dplyr) setwd('C:/Users/Marc/Dropbox/PROJECTEN/Lopend/shiny_interactive_graph') tweets
Henk Straten
1

votes
1

answer
32

Views

How to find the minimum width to display the window title completely

I am maintaining some existing Java code so I am not looking to make major changes to the way it is currently done. I removed some items from a dialog, (which is fundamentally an org.eclipse.swt.widgets.Shell) and now the dialog displays much smaller, so small that the title and the menu bar do not...
Tharpa
1

votes
1

answer
72

Views

How to create warning popup while click on save button in interactive grid in oracle apex

I am trying to rectify how I can create a warning/dialog box while clicking to save button used in an interactive grid. That warning/dialog box has two options: Save which will submit modified user data to database Cancel which will not submit modified data. Currently, we are using Oracle Apex ver...
1

votes
2

answer
48

Views

How to fix generic dialog in validation prompt

In a Search action I have an optional input with validation. action (MyAction) { type (Search) collect { input (name) { type (Name) min (Optional) iterable validate { if (!exists (name)) { prompt { dialog ('Write the name you want me to look up.') } } } } } // end of collect I expect a prompt for th...
Jan Jankowski
1

votes
1

answer
2.1k

Views

How to populate modal window by entity from controller in thymeleaf by ajax query

I want to show a particular user with the help of a materialized modal window by clicking on 'view' button. I'm trying to do this by ajax query to my controller. Also I have an error: There was an unexpected error (type=Internal Server Error, status=500). Exception evaluating SpringEL expression: '...
Vitaly Park
1

votes
4

answer
463

Views

Bootstrap style modal without using bootstrap

I want to use bootstrap modal in my project however when I load bootstrap stylesheets it brakes my website as it seems to be overwriting alot of my CSS. Does anyone know Bootstrap style script that I could use without loading whole bootstrap just for using modal feature ? Or is there any other way i...
woocash
1

votes
2

answer
173

Views

Adding new object to custom array adapter with help of AlertDialog

I'm trying to add new Client with help of dialog, but it looks like my edit text does not exist. It looks like all ids are right and all is good with activity live cycle, but I get: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getTex...
Wlad Guz
1

votes
0

answer
153

Views

how to send form data with submit to bootstrap modal

i have a form and I need to send value to bootstrap modal in this page. now i don't know how to type action='' or modal or submit. thanks. First name: Last name: × Modal Header write some code html and php and use form post firstname and lastname in this area Close
majid Peidaei
1

votes
2

answer
32

Views

Disallow “Background” Window from Being Active WPF

This one is a little hard to explain, it has more to do with .NET and the Windows operating system than WPF, but I have a WPF app that has a 'MainWindow' and in this window there is a menu such as File, Edit, etc. If a user clicks on one of these menu items, a dialog window will appear via the Show...
J-man
1

votes
1

answer
508

Views

Wrong cursor position of Ace Editor inside a dialog

According to Ace Editor embedding guidelines Ace Embedding I added Ace to my website. You can also view here the simplest working example of Ace Editor in a working example(not mine) Ace Editor jsfiddle But I face the following problem: I want to add the div of editor inside a dialog but I face a p...
1

votes
1

answer
359

Views

Angular 4 OverlayContainer duplicate

In my project I'm using md2 components and angular material dialog component. After running my code in my browser, when I open a md2-select or a md2-datepicker, it adds a cdk-overlay-container div to the page's body: Every time I use an md2 component which needs an overlay, it uses the existing one....
Ben
1

votes
2

answer
213

Views

Javafx exits fullscreen after showing dialog

When I show a dialog, full screen mode exits always. I have checked code in Windows, Linux and Mac OS. All gives same result. How to prevent exiting fullscreen. Please help me to resolve this. If this wont works I have to change platform javafx to some other technology to do my project :( public cla...
Sandy
1

votes
1

answer
31

Views

Why won't my iPhone modal or form elements work unless they are positioned at the top of my iPhone screen?

Very hard to even properly phrase this Q. If you go to http://druvocals.com and scroll down the title 'IT'S OH, SO EASY', you will see a graphic and then 'Choose your options'. Under that is a 'Learn more' link which is a modal trigger. Works fine on Desktop and my Android phone, but the link only...
bootstrapper
1

votes
1

answer
1.6k

Views

How to prevent Dialog opening twice in angular material using angular5

{{ person.name }} | ID: {{person.id}} {{person}} This is my method in the component class:- Actually selectedPersonsInDialog function is being called twice so, always it displays 2 times dialog with latest selected and one previous selected value. I want to display a dialog only once with lates...
Nidhi
1

votes
0

answer
283

Views

Dynamic height of modal with iframe inside

I have an iframe inside a bootstrap modal.. The iframe contents are dynamic..i.e. height is variable. How can the modal automatically adjust height ?
kputcha
1

votes
0

answer
113

Views

materializecss modal in table only get the last row from table when button clicked

So I have a table listing the users, and a button each row to edit in modal. I'm using while loop by the way, but my problem is that it only get the last row every time i click any of the button in the rows. I checked the id's of each row via inspect in browser and they have the right id's. It's jus...
chefcode
1

votes
0

answer
99

Views

InApp getSkuDetails producing ANRs

For a game with couple of million active users, I am using InApp Billing V3 and calls getSkuDetails to load the prices of my in app items. I do call getSkuDetails from a separate thread and still ِANRs keeps taking place. Did anyone face similar ANRs? or Am I doing something wrong ? And here is th...
DevSherif
1

votes
0

answer
220

Views

Cannot return null in JavaFX dialog result converter

I have three different buttons on my dialog pane, i.e., dialogPane.saveButton, dialogPane.deleteButton and dialogPane.cancelButton. Depending on which button has been pressed, I want to return different things (especially, I want to return null if the delete button was pressed): setResultConverte...
Markus Weninger
1

votes
1

answer
543

Views

Angular material dialog is hidden

I have implemented the Angular material dialog into my application. However the dialog is not showing up, instead it is hidden beneath my component. To make this issue a bit clear i added some images. Dialog components with my main component showing Dialog components with my main component hidden S...
Kerim Çevik
1

votes
0

answer
739

Views

SOFT_INPUT_ADJUST_PAN and SOFT_INPUT_ADJUST_RESIZE not working on AlertDialog

I have a AlertDialog in which i want the user to put in some Data. The Problem is that the keybord overlaps the Dialog when it pops up. I have android:windowSoftInputMode='adjustPan|adjustResize' in my Manifest and View popupview = (LayoutInflater.from(getActivity())).inflate(R.layout.hausaufgabe_ad...
Si Las
1

votes
0

answer
36

Views

Sharepoint modal window not shown when no permissions to at least one in the library

I have a sharepoint 2013 farm solution with event receiver on Item Added (synchronously triggered) and when user uploads a file: permissions are broken, deleted and added again. There are 3 groups: Visible, Edit and Hidden. When file is added as Edit or Visible group everything works fine, permiss...
Adam_Szerszen
1

votes
0

answer
49

Views

Javascript - Open Window app by javascript catch event dialog is closed or event click any button on dialog

I have a Windows app (a desktop app for Windows 8.1 to demo) and on my website, I run the app by command (JavaScript in Chrome): window.location = 'MyAppName:'; Then it shows the dialog above (I don't use the confirm dialog but it's still showing). If I click the blue button (Open MyAppName), It wil...
Thanh Tran
1

votes
1

answer
845

Views

Bash Dialog add buttons and functionality to buttons?

I am essentially trying to move from python to bash to reduce overhead but still provide a little GUI functionality. I have this code and found a way to add a button but I need to add another button and find out how to connect a function to the buttons? one button will call another program to run,...
Daniac
1

votes
0

answer
142

Views

Ckeditor dialogs input field disabled when editor itself placed in modal

I am using material-ui-next dialog. As a editor i am using ckeditor and placing it in the modal. To add latex text i used MathJax plugin. While adding latex i am not able to focus the input to right latex in mathjax pop-up Any react solution is appreciated, i am not using JQuery.
Vidit
1

votes
1

answer
255

Views

Acr.UserDialogs in MVVMCross: problems with the notification

I have Xamarin Android project and use MVVMCross. I need to show the notification. It should be the text and the image. I created the .axml file with it and I need to show it after the click of the button. I did research here and found Acr.UserDialogs. I installed it: PM> Install-Package Acr.UserDia...
NaSt
1

votes
1

answer
209

Views

Watson Conversation and Facebook Messenger Rich-Text

How to use facebook message templates to offer a rich-text as integrating buttons, images, lists and other facebook messenger features in Watson. I'm following Facebook Messenger Developer but I don't know where should I insert the appropriate code? In the JSON editor of watson conversation or in th...
Xirb
1

votes
1

answer
37

Views

Two forms in a single page and with Bootsrap modal using Codeigniter

$('#form1').on('click',function(e){ e.preventDefault(); $('#emailModal').modal('show'); // open the modal }); $(document).on('click','#sendEmail',function(){ $('#UpdateEmailModal').modal('show'); // open the modal } }); $(document).on('click','#UpdateSendEmail',function(){ $('#form1method')...
M N
1

votes
1

answer
17

Views

Modal stopped responding on desktop

So, I was trying to make my modal only work on screens smaller than tablets. That worked successfully. But now, I made some changes and I need to home to work on desktop size as well. I tried removing the d-none to d-block but it didn't work Any ideas? The house is a converted farm building featurin...
DoeHYd
1

votes
1

answer
490

Views

Bootstrap modal freezing page after close

So I have a page with datatables that opens a modal and you can edit some values there. When I click de 'confirm' button I run an AJAX that works perfectly and in the 'success:' I want to dismiss the modal. Using $('#exampleModal').modal('hide'); the backdrop stays there and the user have to reload...
Emepese
1

votes
1

answer
2.6k

Views

oracle apex redirect to modal dialoge page from pl/sql code

I have a page process in my apex page. I want to redirect to a modal dialoge page after the page process finishes. So I wrote the code htp.init; owa_util.redirect_url('f?p=&APP_ID.:34:APP_SESSION.::NO:34:P34_CODE,P34_DAY_DATE:P30_CODE.,'||:P30_DAY_DT); apex_application.stop_apex_engine; The page 3...
Nidheesh
1

votes
3

answer
287

Views

How to close custom dialog which itself is an activity and get data from it?

I have created custom dialog and I want to close it on Cancel button click. I searched on google, most of the people are using Dialog or AlertDialog but I am not using anything like that. This is my TextDialogActivity which is loading on button click in my app. From MainActivity I am just rendering...
Jai Prak
0

votes
0

answer
15

Views

Showing Win32 common dialog at desktop center from a console program

I would like to display a common dialog at desktop center, calling GetOpenFileName() from a console program. From the Open File Name dialog, I want to get just the name of the selected file. Is there any way to do this? #include #include #include #include #include using namespace std; std::stri...
Sergio
1

votes
2

answer
379

Views

Should you hide modals or remove them from the DOM in React?

I'm writing a React application with a lot of modals (but only one ever active at a time with no nested modals), and I'm unsure of which of these two solutions is preferable when it comes to handling showing and hiding these modals: Have a state boolean variable in the parent component that determin...
Chron Bag
1

votes
1

answer
127

Views

Modal does not close as expected

Expected behavior Click on Signin,Modal opens Click outside the modal or hit esc,modal closes Actual behavior Click on Signin,Modal does not open because onClose fires right away Here is the flow of the program: App.js is rendered, Header is rendered and an openSignIn callback props is passed to it,...
Mohamed Baher
1

votes
1

answer
1.7k

Views

How to open html page in dialog in Vuetify? - VueJS

I tried to open a different page in vuetify, using window.open (http://url) and after an action return to the primary window to update it with some data. However, I need to open the page in a modal. And window.showModalDialog() isn't work I am using the following features: 'dependencies': { 'axios':...
Dvex
1

votes
0

answer
31

Views

Not able to position Jquery dialog windows dynamically

I have following code $(function(){ $('.dialog').dialog({ autoOpen: false, modal: false, width: 'auto', height: 'auto' }); $('button').each(function(i) { var el = $(this); el.click(function () { $('.dialog').eq(i).dialog('open'); }); }); }); Enlarge Enlarge 1 Enlarge Enlarge 2 Enlar...
aniltc
1

votes
0

answer
213

Views

Java Modal dialog freezes whole application when using jdk 8

Very rarely, when showing a modal dialog in a Java Swing application using JDK1.8.0_144, the whole application gets frozen. I couldn't find a relevant bug in the JDK bug database. The only one that would seem remotely related is this one but our application was never minimized whenever it got froze...
Vlad Topala
1

votes
0

answer
133

Views

mdDialog with templateUrl and buttons

Is it possible to make use of the templateUrl and also have the ok and cancel buttons? For example, I have this function in my controller: $scope.showModal = function() { var confirm = $mdDialog.confirm({ title: 'Form', templateUrl: 'src/modalTest.html', ok: 'Yes', cancel: 'No', }); } Because I have...
chakolatemilk

View additional questions